package com.langyiquan.service;

import com.langyiquan.bo.CarouselBO;
import com.langyiquan.pojo.Carousel;

import java.util.Date;
import java.util.List;

public interface CarouselService {

    public List<Carousel> queryAll(Date startTime, Date endTime);

    public Carousel queryCarouselInfo(Integer carouselId);

    public Carousel createCarousel(CarouselBO carouselBO);

    public Carousel updateCarousel(Integer carouselId, CarouselBO carouselBO);

    public Integer deleteCarousel(Integer carouselId);

}
